package com.hst.web.sys.ui;

import com.hst.core.meta.MetaData;
import com.hst.core.meta.annotation.EField;
import com.hst.core.meta.annotation.EInfo;
import com.hst.core.meta.annotation.FieldQuery;
import com.hst.web.sys.entity.TUser;
import com.hst.web.sys.proxy.UserDeptDistributeProxy;

/**
 * @Description:
 * @Author: luwenjie
 */
@EInfo(name="user-dept-distribute", title="分配部门", entity = TUser.class,proxy=UserDeptDistributeProxy.class)
public class UserDeptDistribute extends MetaData{
	
	@EField(title="id",name="id",list=false,form=0)
	private String id;

	@EField(title="操作员号/账号",name="operatorNbr",query = FieldQuery.LIKE)
	private String operatorNbr;

	@EField(title="登录名",name="loginName",query = FieldQuery.LIKE)
	private String loginName;
	
	@EField(title="员工",name="employeeCode",editor="select.employee-all",viewer="employeeName",form=0)
	private String employeeCode;

	@EField(mapped=false, title = "所属部门", editor = "select.dept-all", viewer = "dict.dept-all")
	private String deptCode;
	
	@EField(title="角色",mapped=false,viewer="dict.roles",form=3)
	private String role;
	
	@EField(title="有效标识",name="validflag",editor="select.status",viewer="dict.status",validate="required",form=0,list=false)
	private String validflag;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOperatorNbr() {
		return operatorNbr;
	}

	public void setOperatorNbr(String operatorNbr) {
		this.operatorNbr = operatorNbr;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getEmployeeCode() {
		return employeeCode;
	}

	public void setEmployeeCode(String employeeCode) {
		this.employeeCode = employeeCode;
	}

	public String getDeptCode() {
		return deptCode;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getValidflag() {
		return validflag;
	}

	public void setValidflag(String validflag) {
		this.validflag = validflag;
	}
}
